home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / prefs / pointer.h < prev    next >
C/C++ Source or Header  |  1996-09-10  |  2KB  |  80 lines

  1. #ifndef PREFS_POINTER_H
  2. #define PREFS_POINTER_H 1
  3. /*
  4. ** pointer.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/03/95
  11. **
  12. **
  13. */
  14.  
  15. /*
  16. ** This are the StructPointer defines for pointer.h
  17. */
  18. #ifndef PointerPrefsPtr
  19. #define PointerPrefsPtr ADDRESS
  20. #endif
  21. #ifndef RGBTablePtr
  22. #define RGBTablePtr ADDRESS
  23. #endif
  24. /*
  25. ** End of StructPointer defines for pointer.h
  26. */
  27.  
  28.  
  29. /*****************************************************************************/
  30.  
  31. #ifndef EXEC_TYPES_H
  32. #include <exec/types.h>
  33. #endif
  34.  
  35. #ifndef LIBRARIES_IFFPARSE_H
  36. #include <libraries/iffparse.h>
  37. #endif
  38.  
  39. /*****************************************************************************/
  40.  
  41. #define ID_PNTR 1347310674 
  42.  
  43. /*****************************************************************************/
  44.  
  45. STRUCT PointerPrefs
  46.  
  47.     STRING pp_Reserved SIZE 16  /* 4*SIZEOF(LONGINT)  */
  48.     SHORTINT pp_Which              /* 0=NORMAL,  1=BUSY */
  49.     SHORTINT pp_Size               /* see <intuition/pointerclass.h> */
  50.     SHORTINT pp_Width              /* Width in pixels */
  51.     SHORTINT pp_Height                 /* Height in pixels */
  52.     SHORTINT pp_Depth              /* Depth */
  53.     SHORTINT pp_YSize              /* YSize */
  54.     SHORTINT pp_X 
  55.     SHORTINT   pp_Y                /* Hotspot */
  56.  
  57.     /* Color Table:  numEntries = (1) - 1 */
  58.  
  59.     /* Data follows */
  60. END STRUCT 
  61.  
  62. /*****************************************************************************/
  63.  
  64. /* constants for PointerPrefs.pp_Which */
  65. #define WBP_NORMAL  0
  66. #define WBP_BUSY    1
  67.  
  68. /*****************************************************************************/
  69.  
  70. STRUCT RGBTable
  71.  
  72.     BYTE  t_Red 
  73.     BYTE  t_Green 
  74.     BYTE  t_Blue 
  75. END STRUCT 
  76.  
  77. /*****************************************************************************/
  78.  
  79. #endif /* PREFS_POINTER_H */
  80.